﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KNet.Data.Entity;
using Newtonsoft.Json;

namespace CNKI.TPI.Web.Search.Model
{
    public class CLS_NODE : BaseModel, IView
    {
        public int ClsID { set; get; }
        public string Name { set; get; }
        public string Code { set; get; }
        public int Grade { set; get; }
        public int ChildFlag { set; get; }
        public string SysCode { set; get; }
        public int SortNumber { set; get; }
        public int SysID { set; get; }

        public CLS_NODE()
        { 
        
        }

        [JsonConstructor]
        public CLS_NODE(int clsID, string name, string code, int grade, int childFlag, string sysCode, int sortNumber, int sysID)
        {
            this.ClsID = clsID;
            this.Name = name;
            this.Code = code;
            this.Grade = grade;
            this.ChildFlag = childFlag;
            this.SysCode = sysCode;
            this.SortNumber = sortNumber;
            this.SysID = sysID;
        }







    }
}
